package com.xy.api.service.order;

import com.xy.api.model.dto.order.PlaceFollowOrderDTO;
import com.xy.api.model.request.order.PFORequest;
import com.xy.api.model.response.Rows;

public interface IPlaceFollowOrderService {

    /**
     * 查询工厂订单跟单列表
     *
     * @param request
     * @return
     */
    Rows<PlaceFollowOrderDTO> queryPlaceFollowOrderList(PFORequest request);

    /**
     * 详情
     *
     * @param id 工厂订单跟单ID
     * @return
     */
    PlaceFollowOrderDTO placeFollowOrderDetail(Long id);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    PlaceFollowOrderDTO queryById(Long id);

    /**
     * 编辑工厂订单跟单
     *
     * @param request
     */
    PlaceFollowOrderDTO editPlaceFollowOrder(PlaceFollowOrderDTO request);

    /**
     * 删除工厂订单跟单
     *
     * @param id
     */
    void deletePlaceFollowOrder(Long id);

}
